-- GENERATED SPELL FOR [Severed Sleeper] --


function spell0_3801(pUnit, Event) --@Sleep,n/a--
pUnit:FullCastSpellOnTarget(8399,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3801', 11300, 1)
end

function Sorts_3801(pUnit, Event)
local choix_sorts_3801 = math.random(0, 0)
if choix_sorts_3801 == 0 then
pUnit:RegisterEvent('spell0_3801', 1, 1)
end
end

function mob3801_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3801', math.random(1500, 3000), 1)
end

function mob3801_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3801_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3801_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3801, 1, 'mob3801_Action')
RegisterUnitEvent(3801, 2, 'mob3801_Leave')
RegisterUnitEvent(3801, 3, 'mob3801_Kill')
RegisterUnitEvent(3801, 4, 'mob3801_Die')
